package com.liu.dao;

import com.liu.model.CommunityPost;

import java.util.List;
import java.util.Map;

public interface CommunityPostMapper {

    Boolean save(CommunityPost communityPost);

    Boolean edit(CommunityPost communityPost);

    List<CommunityPost> findAll(Map<String, Object> queryMap);

    boolean deleteById(String id);

    CommunityPost findById(String id);

}